<template>
<!-- 公共样式 -->
  <div class="base-layout">
    <div class="layout-center-box noselect">
      <div class="info">
        <span>管理平台</span>
      </div>
      <div class="form-solt">
        <div class="container">
          <slot></slot>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "base-layout-box"
};
</script>

<style lang="scss">
.login {
  .el-form-item.is-error .el-input__inner,
  .el-form-item.is-error .el-input__inner:focus,
  .el-form-item.is-error .el-textarea__inner,
  .el-form-item.is-error .el-textarea__inner:focus,
  .el-message-box__input input.invalid,
  .el-message-box__input input.invalid:focus {
    border-color: #f56c6c;
  }
}
</style>
<style lang="scss" scoped>
.base-layout {
  height: 100%;
  background-size: cover;
  //background-image: url("../assets/erciyuan.jpg");
   background: black;
  .layout-center-box {
    width: 900px;
    height: 600px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 0 100px #29449f;
    display: flex;
    .info {
      flex: 1;
      line-height: 600px;
      text-align: center;
      font-size: 26px;
      font-weight: 100;
      position: relative;
      >span{
        color: #F7F8FC;
        font-weight: bold;
      }
      .info-logo {
        position: absolute;
        top: 30px;
        left: 30px;
      }
    }
    .form-solt {
      width: 460px;
      display: flex;
      align-items: center;
      justify-content: center;
      .container {
        background-color: white;
        width: 360px;
        padding: 20px 0 30px;
        border-radius: 6px;
        border: 1px solid #e4e7ed;
        box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
      }
    }
  }
}
</style>